import { BroadCastCall } from "../../broadCast/BroadCastCall";
import { MessageBlock } from "../../../../../Framework/MQ/MessageBlock";
import { SHandselFlowerInfo } from "../../../../../Message/Game/SHandselFlowerInfo";
import { MsgManager } from "../../../manager/MsgManager";
import { Language } from "../../../../../extend/language/Language";
import { HTMLUtil } from "../../../../../com/gengine/utils/HTMLUtil";
import { ColorConfig } from "../../../resource/ColorConfig";
//class FlowersKissBackCommand
    
    export  class FlowersKissBackCommand extends BroadCastCall
    {
        constructor(arg1: Object)
        {
            super(arg1);
            return;
        }

        public /* override */ call(arg1: MessageBlock): void
        {
            var loc1=arg1.messageBase as SHandselFlowerInfo;
            MsgManager.addBroadCast(Language.getStringByParam(41417, HTMLUtil.addColor(loc1.miniPlayer.name, ColorConfig.instance.getCountryColor(loc1.miniPlayer.camp).color) + "嘟起小嘴儿，狠狠地啵了一个，说：谢谢你的鲜花哦！"));
            return;
        }
    }
